From: | Jeff Gilpin |
Date: | 24 May 2001 at 17:36:46 |
Subject: | Re: Timer device |
Hello Ron,
On 24-May-01, you wrote:
> Maybe I should make my needs a little more clear. What I want to
> do is operate some RS-232 serial port controlled devices from a
> program that allows me to set different times during the day when the
> various devices are to turn on or off.
>
> The "timer" and "wait" algorithm is limited to seconds and
> microseconds so this isn't workable. Is there a way to get a signal
> from the system clock itself or some way to change the resolution of
> the timers to get hours and minuets?
The Time() function will give you the system time with the appropriate
parameters. Just use Wait or Delay for 30 sec, 5 min or whatever and
check the system time to see if it's reached the time you want.
Regards,
ARexx mailing list - No flames, no overquoting, no crossposting.
Unsub: Blank mail to mailto:arexx-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/